package com.elcl.widget.comp.dialog;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.widget.TextView;

import com.elcl.andbaselibrary.R;

public class LoadingProgressDialog extends Dialog {
	Context context;
	String content = "正在载入...";
	TextView txt_content;

	public LoadingProgressDialog(Context context,int theme,String content) {
		super(context,theme);
		this.content = content;
	}
	
	public LoadingProgressDialog(Context context,int theme) {
		super(context,theme);
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.progressdialog);

		txt_content = (TextView) findViewById(R.id.txt_content);
	}
	
	public void setContent(String content){
		txt_content.setText(content);
	}
}
